<template>
	<view class="p20">
		<view class="p20 pl30 flex pr" style="min-height: 132rpx;">
			<image src="/static/img/my/yue_bg.png" class="pa top0 left0 wh-max" mode=""></image>

			<image src="/static/img/index/result.png" class="w60 h60 mr30 pr" mode=""></image>
			<view class="flex1 color-fff pr">
				<view class="fs30">{{data.status_text}}</view>
				<view class="fs26 mt10">{{data.msg}}</view>
			</view>
		</view>
		<view class="fs30 tit-ac ml24 relative mb22 mt20">
			<text>认证信息</text>
		</view>
		<view class="p10 pl20 pr20 bg-fff radius20">
			<view class="flex row-between pt14 pb14">
				<view class="color-999">姓名</view>
				<view class="">{{data.name}}</view>
			</view>
			<view class="flex row-between pt14 pb14">
				<view class="color-999">身份证号</view>
				<view class="">{{data.card_no}}</view>
			</view>
			<view class="flex row-between pt14 pb14">
				<view class="color-999">手机号码</view>
				<view class="">{{data.mobile}}</view>
			</view>
			<view class="flex row-between pt14 pb14">
				<view class="color-999">常驻所在地</view>
				<view class="">{{data.city}}</view>
			</view>
			<view class="flex row-between col-top pt14 pb14">
				<view class="color-999">具体地址</view>
				<view class="">{{data.address}}</view>
			</view>
			<view class="flex row-between col-top pt14 pb14">
				<view class="color-999">常驻陪诊医院</view>
				<view class="">{{data.hospitals}}</view>
			</view>
			<view class="flex row-between col-top pt14 pb14">
				<view class="color-999">护龄</view>
				<view class="">{{data.service_year}}</view>
			</view>
			<view class="pt14 pb14">
				<view class="color-999">身份证</view>
				<view class="flex row-between pt20">
					<view class="">
						<image :src="data.card_pros" @click="$tool.lookImg([data.card_pros])" class="w312 h210" mode="">
						</image>
					</view>
					<view class="">
						<image :src="data.card_cons" @click="$tool.lookImg([data.card_cons])" class="w312 h210" mode="">
						</image>
					</view>
				</view>
			</view>
			<view class="pt14 pb14">
				<view class="color-999">资格证书</view>
				<view class="flex row-between pt20">
					<image :src="item" @click="$tool.lookImg(data.certificate,index)"
						v-for="(item,index) in data.certificate" :key="index" class="w312 h210" mode=""></image>
				</view>
			</view>
			<view class="pt14 pb14">
				<view class="color-999">体检报告</view>
				<view class="flex row-between pt20">
					<image :src="data.report" @click="$tool.lookImg([data.report])" class="w312 h210" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data: ''
			};
		},
		onLoad() {
			this.getData()
		},
		methods: {
			getData() {
				this.$request('/master/auth/authResult').then(res => {
					this.data = res.data
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
